Fractal Analysis of Good Programming Style
نویسندگان
چکیده
This paper studies a new, quantitative approach using fractal geometry to analyse basic tenets of good programming style. Experiments on C source of the GNU/Linux Core Utilities, a collection of 114 programs or approximately 70,000 lines of code, show systematic changes in style are correlated with statistically significant changes in fractal dimension (P≤0.0009). The data further show positive but weak correlation between lines of code and fractal dimension (r=0.0878). These results suggest the fractal dimension is a reliable metric of changes that affect good style, the knowledge of which may be useful for maintaining a code base.
منابع مشابه
Application of spectrum-volume fractal modeling for detection of mineralized zones
The main goal of this research work was to detect the different Cu mineralized zones in the Sungun porphyry deposit in NW Iran using the Spectrum-Volume (S-V) fractal modeling based on the sub-surface data for this deposit. This operation was carried out on an estimated Cu block model based on a Fast Fourier Transformation (FFT) using the C++ and MATLAB programing. The S-V log-log plot was gene...
متن کاملMultifractal Fingerprints in the Visual Arts
The similarity in fractal dimensions of paint “blobs” in samples of gestural expressionist art implies that these pigment structures are statistically indistinguishable from one another. This result suggests that such dimensions cannot be used as a “fingerprint” for identifying the work of a single artist. To overcome this limitation, the multifractal spectrum is adopted as an alternative tool ...
متن کاملIdentification of active tectonic areas using fractal analysis (box counting) of earthquakes, lines and waterways of Alborz province
Fractal analysis of earthquakes, lineages and waterways are considered as one of the practical tools to evaluate tectonic activity. With the help of fractal analysis, structural maturity and tectonic dynamics can be evaluated. In this research, using fractal analysis and box counting method and fild studies, the measured fractal dimensions for the designed network of Alborz province were studie...
متن کاملThe Application of fractal dimension and morphometric properties of drainage networks in the analysis of formation sensibility in arid areas (Case Study, Yazd-Ardakan Basin)
Introduction: Many natural phenomena have many variables that make it difficult to find relationships between them using common mathematical methods. This problem, along with the impossibility of measuring all elements of nature, has led to a major evolution in the way of understanding and explaining phenomena. In this way, one can use the fractal geometry with the theory that many natural phen...
متن کامل